Flutter SDK not working.
# support
s
I have trying to run the flutter sdk locally, but I have not been able to. flutter: 🔄 2025-04-14 23:30:46.127476: Vapi - Requesting Mic Permission... flutter: 🆗 2025-04-14 23:30:46.140497: Vapi - Mic Permission Granted flutter: 🔄 2025-04-14 23:30:46.141067: Vapi - Preparing Call & Client... flutter: 🔄 2025-04-14 23:30:46.163014: Vapi - Creating client (Attempt 1)... flutter: 🆗 2025-04-14 23:30:46.269783: Vapi - Client Created flutter: 🆗 2025-04-14 23:30:47.126137: Vapi - Vapi Call Ready flutter: https://vapi.daily.co/Qv0XDQUDPbvI7ZTm2ONS flutter: 🔄 2025-04-14 23:30:47.128481: Vapi - Joining Call... flutter: ⏹️ 2025-04-14 23:30:48.689557: Vapi - Call Ended. flutter: call ended flutter: ⏹️ 2025-04-14 23:30:48.693013: Vapi - Call Ended. flutter: call ended [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: 🆘 2025-04-14 23:30:48.696572: Vapi - Failed to join call: OperationFailedException(join failed: Connection(Signalling(ChannelOpenFailed(ConnectionFailed("IO error: failed to lookup address information: nodename nor servname provided, or not known"))))) #0 Vapi.start. (package:vapi/Vapi.dart:154:7) #1 _FutureListener.handleError (dart:async/future_impl.dart:181:22) #2 Future._propagateToListeners.handleError (dart:async/future_impl.dart:859:47) #3 Future._propagateToListeners (dart:async/future_impl.dart:880:13) #4 Future._completeError (dart:async/future_impl.dart:660:5) Application finished. the Dart compiler exited unexpectedly. I have tried multiple solutions with no lock, I have tried upgrading the daily flutter package too as suggested in issues. Please help.
v
Hi there! 👋 I see you're having trouble with the Flutter SDK and encountering a DNS resolution error. I'm unable to determine your specific device environment or what other solutions you've tried beyond upgrading the daily flutter package. However, I can definitely help with troubleshooting the main error you're seeing: "IO error: failed to lookup address information: nodename nor servname provided, or not known". Based on the information I found, this error typically occurs due to network connectivity or DNS resolution issues. Here are some troubleshooting steps you can try: ### 1. Check your endpoint URL The error might be caused by using an incorrect endpoint URL. Make sure you're using the correct URL format and not sending requests directly to IP addresses. According to the documentation, direct requests to IP addresses are blocked, and you should send inbound requests to sip.vapi.ai instead:
Copy code
You cannot send requests directly to our IP addresses. Instead, you must send inbound requests to sip.vapi.ai.
### 2. Verify DNS and network configuration Make sure your DNS settings are correct and that your network can resolve the domain names used by the Flutter SDK: - Verify that your DNS settings are correct - Check that your network allows outbound connections - Ensure there are no firewall or network restrictions blocking the connections ### 3. Check for outdated configuration Some users experienced issues with outdated configuration parameters: - The
serverurl
field is no longer needed in newer versions - Try removing the "provider" property from your request if you're using it ### 4. Verify network connectivity Ensure that: - Your internet connection is stable - Your network allows WebSocket connections - There are no firewalls or proxies blocking the connection ### 5. Check API endpoint availability Confirm that the API endpoint you're trying to reach is available and not experiencing any downtime.
If you continue to experience issues after trying these steps, could you share more details about your implementation and what other solutions you've already attempted? Sources: - [Discord Thread 1336754090880798765](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336754090880798765) - [Discord Thread 1329037681908383794](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1329037681908383794) - [Discord Thread 1334889631333875793](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334889631333875793) - [Discord Thread 1336722356856426586](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336722356856426586) - [Discord Thread 1334336219584135168](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334336219584135168)
k
To help track down this issue, could you share one or two: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!